//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

public class LiveExamObjectiveScoreDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long taskUserId;
    private Long productId;
    private Long standardId;
    private String standardName;
    private BigDecimal score;
    private Integer hasScore;
    private Long scoreId;
    private Integer state;
    private String errDesc;
    @TableField(
            exist = false
    )
    private String productName;

    public LiveExamObjectiveScoreDetail() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public Long getProductId() {
        return this.productId;
    }

    public Long getStandardId() {
        return this.standardId;
    }

    public String getStandardName() {
        return this.standardName;
    }

    public BigDecimal getScore() {
        return this.score;
    }

    public Integer getHasScore() {
        return this.hasScore;
    }

    public Long getScoreId() {
        return this.scoreId;
    }

    public Integer getState() {
        return this.state;
    }

    public String getErrDesc() {
        return this.errDesc;
    }

    public String getProductName() {
        return this.productName;
    }

    public LiveExamObjectiveScoreDetail setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveExamObjectiveScoreDetail setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public LiveExamObjectiveScoreDetail setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveExamObjectiveScoreDetail setStandardId(final Long standardId) {
        this.standardId = standardId;
        return this;
    }

    public LiveExamObjectiveScoreDetail setStandardName(final String standardName) {
        this.standardName = standardName;
        return this;
    }

    public LiveExamObjectiveScoreDetail setScore(final BigDecimal score) {
        this.score = score;
        return this;
    }

    public LiveExamObjectiveScoreDetail setHasScore(final Integer hasScore) {
        this.hasScore = hasScore;
        return this;
    }

    public LiveExamObjectiveScoreDetail setScoreId(final Long scoreId) {
        this.scoreId = scoreId;
        return this;
    }

    public LiveExamObjectiveScoreDetail setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveExamObjectiveScoreDetail setErrDesc(final String errDesc) {
        this.errDesc = errDesc;
        return this;
    }

    public LiveExamObjectiveScoreDetail setProductName(final String productName) {
        this.productName = productName;
        return this;
    }

    public String toString() {
        return "LiveExamObjectiveScoreDetail(id=" + this.getId() + ", taskUserId=" + this.getTaskUserId() + ", productId=" + this.getProductId() + ", standardId=" + this.getStandardId() + ", standardName=" + this.getStandardName() + ", score=" + this.getScore() + ", hasScore=" + this.getHasScore() + ", scoreId=" + this.getScoreId() + ", state=" + this.getState() + ", errDesc=" + this.getErrDesc() + ", productName=" + this.getProductName() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveExamObjectiveScoreDetail)) {
            return false;
        } else {
            LiveExamObjectiveScoreDetail other = (LiveExamObjectiveScoreDetail)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label143: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label143;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label143;
                    }

                    return false;
                }

                Object this$taskUserId = this.getTaskUserId();
                Object other$taskUserId = other.getTaskUserId();
                if (this$taskUserId == null) {
                    if (other$taskUserId != null) {
                        return false;
                    }
                } else if (!this$taskUserId.equals(other$taskUserId)) {
                    return false;
                }

                Object this$productId = this.getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    return false;
                }

                label122: {
                    Object this$standardId = this.getStandardId();
                    Object other$standardId = other.getStandardId();
                    if (this$standardId == null) {
                        if (other$standardId == null) {
                            break label122;
                        }
                    } else if (this$standardId.equals(other$standardId)) {
                        break label122;
                    }

                    return false;
                }

                label115: {
                    Object this$standardName = this.getStandardName();
                    Object other$standardName = other.getStandardName();
                    if (this$standardName == null) {
                        if (other$standardName == null) {
                            break label115;
                        }
                    } else if (this$standardName.equals(other$standardName)) {
                        break label115;
                    }

                    return false;
                }

                Object this$score = this.getScore();
                Object other$score = other.getScore();
                if (this$score == null) {
                    if (other$score != null) {
                        return false;
                    }
                } else if (!this$score.equals(other$score)) {
                    return false;
                }

                Object this$hasScore = this.getHasScore();
                Object other$hasScore = other.getHasScore();
                if (this$hasScore == null) {
                    if (other$hasScore != null) {
                        return false;
                    }
                } else if (!this$hasScore.equals(other$hasScore)) {
                    return false;
                }

                label94: {
                    Object this$scoreId = this.getScoreId();
                    Object other$scoreId = other.getScoreId();
                    if (this$scoreId == null) {
                        if (other$scoreId == null) {
                            break label94;
                        }
                    } else if (this$scoreId.equals(other$scoreId)) {
                        break label94;
                    }

                    return false;
                }

                label87: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label87;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label87;
                    }

                    return false;
                }

                Object this$errDesc = this.getErrDesc();
                Object other$errDesc = other.getErrDesc();
                if (this$errDesc == null) {
                    if (other$errDesc != null) {
                        return false;
                    }
                } else if (!this$errDesc.equals(other$errDesc)) {
                    return false;
                }

                Object this$productName = this.getProductName();
                Object other$productName = other.getProductName();
                if (this$productName == null) {
                    if (other$productName != null) {
                        return false;
                    }
                } else if (!this$productName.equals(other$productName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveExamObjectiveScoreDetail;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 = result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $standardId = this.getStandardId();
        result1 = result * 59 + ($standardId == null ? 43 : $standardId.hashCode());
        Object $standardName = this.getStandardName();
        result1 = result * 59 + ($standardName == null ? 43 : $standardName.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        Object $hasScore = this.getHasScore();
        result1 = result * 59 + ($hasScore == null ? 43 : $hasScore.hashCode());
        Object $scoreId = this.getScoreId();
        result1 = result * 59 + ($scoreId == null ? 43 : $scoreId.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $errDesc = this.getErrDesc();
        result1 = result * 59 + ($errDesc == null ? 43 : $errDesc.hashCode());
        Object $productName = this.getProductName();
        result1 = result * 59 + ($productName == null ? 43 : $productName.hashCode());
        return result1;
    }
}
